package edu.nf.meituan.model.order.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.nf.db.util.Column;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Date 2023/6/20
 * @Author zgm
 * 用户订单
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserOrder {
    /**
     * 订单id
     */
    @Column("order_id")
    private Integer orderId;

    /**
     * 骑手id
     */
    @Column("rider_id")
    private Integer riderId;
    /**
     * 订单状态
     */
    @Column("orders_status")
    private Integer ordersStatus;
    /**
     * 商家图片
     */
    @Column("shop_img")
    private String shopImg;
    /**
     * 商家名称
     */
    @Column("shop_name")
    private String shopName;
    /**
     * 订单时间
     */
    @Column("orders_created_at")
    public LocalDateTime ordersCreatedAt;
}
